package com.qfedu.service;

import com.github.pagehelper.PageInfo;
import com.qfedu.entity.BoatEntity;
import com.qfedu.entity.BoatTypeEntity;

import java.util.List;

public interface BoatService {
    public List<BoatEntity> queryByRid(int rid);

    public List<BoatEntity> queryBoat();

    public boolean insert(int rid,int sid);

    public PageInfo<BoatEntity> queryBoatList(BoatEntity be);

    public boolean delBoat(int sid);

    public boolean deAllBoat(String ids);

    public boolean updateBoat(BoatEntity be);

    public boolean insertBoat(BoatEntity be);

    public  List<BoatTypeEntity> queryBoatType();

    public  BoatEntity queryBoatById(int sid);
}
